local json = require("cjson")

local t = {
    {bookId=1, pageId=2,id="nieqiang-1698457192559",content="这是2559的批注"},
    {bookId=1, pageId=2, id="nieqiang-1698457412116",content="这是另外一个批注"}
}

local arg = ngx.req.get_uri_args();



for k1,v1 in ipairs(t) do
    for k,v in pairs(arg) do
        if(v1.id == v) then
	    ngx.say(json.encode(v1));
        end
    end
end